package cn.xf.dao;

import cn.xf.domain.Traveller;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author xiaofu
 * @date 2021-05-14 12:49
 * @email dearaf@163.com
 */
public interface ITravellerDao {

    @Select("select * from traveller where id in (select travellerId from order_traveller where orderId=#{ordersId})")
    List<Traveller> findByOrdersId(String ordersId);
}
